package com.example.dto;

import java.util.List;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;

public class BatchRegisterRequest {
    
    @NotEmpty(message = "用户注册请求列表不能为空")
    @Valid
    private List<RegisterRequest> users;
    
    public BatchRegisterRequest() {
    }
    
    public BatchRegisterRequest(List<RegisterRequest> users) {
        this.users = users;
    }
    
    public List<RegisterRequest> getUsers() {
        return users;
    }
    
    public void setUsers(List<RegisterRequest> users) {
        this.users = users;
    }
} 